import request from './request';

// 首页banner
export function picture_getPictureList(data) {
  return request({
    url: 'picture/getPictureList',
    method: 'post',
    data
  });
}

//获取首页专属顾问手机号
export function user_getSalesmanPhone(data) {
  return request({
    url: 'user/getSalesmanPhone',
    method: 'post',
    data
  });
}

//保存订单信息
export function order_saveOrder(data) {
  return request({
    url: 'order/saveOrder',
    method: 'post',
    data
  });
}

//保存分享海报涞源的订单信息
export function order_saveShareOrder(data) {
  return request({
    url: 'order/saveShareOrder',
    method: 'post',
    data
  });
}

//产品分类
export function product_getCategoryList(data) {
  return request({
    url: 'product/getCategoryList',
    method: 'post',
    data
  });
}

//热门产品列表
export function product_getHotProductList(data) {
  return request({
    url: 'product/getHotProductList',
    method: 'post',
    data
  });
}

//普通产品列表
export function product_getCategoryProductList(data) {
  return request({
    url: 'product/getCategoryProductList',
    method: 'post',
    data
  });
}

//产品详情
export function product_getProductDetailNew(data) {
  return request({
    url: 'product/getProductDetailNew',
    method: 'post',
    data
  });
}

//产品详情
export function product_getProductDetail(data) {
  return request({
    url: 'product/getProductDetail',
    method: 'post',
    data
  });
}

//公司名称查税号
export function invoiceTitle_getCompanyList(data) {
  return request({
    url: 'invoiceTitle/getCompanyList',
    method: 'post',
    data
  });
}

//微业贷申请
export function order_saveLoanOrder(data) {
  return request({
    url: 'order/saveLoanOrder',
    method: 'post',
    data
  });
}

//获取15个省份
export function sysConfig_getSysConfigList(data) {
  return request({
    url: 'sysConfig/getSysConfigList',
    method: 'post',
    data
  });
}

//常见问题列表
export function product_getCommonQuestion(data) {
  return request({
    url: 'product/getCommonQuestion',
    method: 'post',
    data
  });
}

//开票类目
export function invoiceCategory_getInvoiceCategoryList(data) {
  return request({
    url: 'invoiceCategory/getInvoiceCategoryList',
    method: 'post',
    data
  });
}
